import request from './network.js'

export function getCategorydata(){
  return request({
    url:'/category'
  })
}
export function getSubcategory(maitkey){
  return request({
    url:"/subcategory",
    data:{
      maitKey:maitkey
    }
  })
}
export function getSubcategoryDetail(miniWallkey,type){
  return request({
    url:"/subcategory/detail",
    data:{
      miniWallkey,
      type
    }
  })
}